<template>
    <view>
        <view class="btm_nav" :style="'--color:' + color + ';--rgbcolor:' + rgbcolor + ';--btmnavbg_color:' + btmnavbg_color + ';--btmnavbg_rgbcolor:' + btmnavbg_rgbcolor + ';'">
            <view class="shadow"></view>
            <view class="navabox">
                <navigator :class="'a ' + (btm_nav == 'index' ? ' ed' : '')" hoverClass="none" openType="redirect" :url="'index?tguid=' + tguid + '&admid=' + admid">
                    <view class="i">
                        <view class="image ico"></view>
                    </view>
                    <view class="font">首页</view>
                </navigator>
                <navigator :class="'a ' + (btm_nav == 'help' ? ' ed' : '')" hoverClass="none" openType="redirect" :url="'help?tguid=' + tguid + '&admid=' + admid">
                    <view class="i">
                        <view class="image ico"></view>
                    </view>
                    <view class="font">帮助</view>
                </navigator>
                <navigator :class="'a ' + (btm_nav == 'msg' ? ' ed' : '')" hoverClass="none" openType="redirect" :url="'msg?tguid=' + tguid + '&admid=' + admid">
                    <view class="i">
                        <view class="image ico"></view>
                        <text class="span" v-if="btm_nav_msg_num > 0">{{ btm_nav_msg_num }}</text>
                    </view>
                    <view class="font">通知</view>
                </navigator>
                <navigator :class="'a ' + (btm_nav == 'my' ? ' ed' : '')" hoverClass="none" openType="redirect" :url="'my?tguid=' + tguid + '&admid=' + admid">
                    <view class="i">
                        <view class="image ico"></view>
                    </view>
                    <view class="font">我的</view>
                </navigator>
            </view>
        </view>
        <view @tap="backtopFn" class="backtop fadeInUp" data-id="index" :style="'color:' + color" v-if="backtop_flag">
            <text class="ico icon-backtop"></text>
            顶部
        </view>
    </view>
</template>

<style>
@import 'TG_btm_nav.css';
</style>
